package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @author luwei
 * @date 2021/6/21 - 16:42
 */
@Data
@Accessors(chain = true)
@ApiModel(value="Attendance对象", description="")
public class TeacherAttendance implements Serializable {

    private static final long serialVersionUID = -6076396448222680984L;

    @ApiModelProperty(value = "leaveId")
    private Integer leaveId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "打卡时间 punchDate(日期)")
    private String punchDate;

    @ApiModelProperty(value = "学生学号 stuNumber")
    private String stuNumber;

    @ApiModelProperty(value = "学生姓名 stuName")
    private String stuName;

    @ApiModelProperty(value = "实训老师 trainTeacherName")
    private String trainTeacherName;

    @ApiModelProperty(value = "责任老师 responseTeacherName")
    private String responseTeacherName;

    @ApiModelProperty(value = "学生班级编号 stuClass")
    private Integer stuClass;

    @ApiModelProperty(value = "学生班级名字 className")
    private String className;

    @ApiModelProperty(value = "学生专业编号 stuMajor")
    private Integer stuMajor;

    @ApiModelProperty(value = "学生专业名字 majorName")
    private String majorName;

    @ApiModelProperty(value = "学生年级编号 stuGrade")
    private Integer stuGrade;

    @ApiModelProperty(value = "学生年级名字 gradeName")
    private String gradeName;

    @ApiModelProperty(value = "学生学院编号 collegeId")
    private Integer collegeId;

    @ApiModelProperty(value = "学生学院名字 collegeName")
    private String collegeName;

    @ApiModelProperty(value = "小组名称 groupName")
    private String groupName;

    @ApiModelProperty(value = "课程/实训名称 courseName")
    private String courseName;

    @ApiModelProperty(value = "打卡状态 status")
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "课程签到时间 signIntegerime")
    private String signinTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "学生真实签到时间 truesignIntegerime")
    private String trueSigninTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "学生真实签退时间 signoutTime")
    private String signoutTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "课程签退时间 truesignoutTime")
    private String trueSignoutTime;

}
